package com.bclz.bo;

import java.util.Date;
import java.util.List;

import com.bclz.common.AbstracePage;
import com.bclz.entity.Tag;
import com.bclz.entity.User;
import com.fasterxml.jackson.annotation.JsonFormat;

public class PostBo extends AbstracePage {
			
	    private String  id;
	    private String  content;
	    private String  title;
	    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") 
	    private Date    createTime;
	    private Integer  categoryId;
	    private String  categoryName;
	    private Integer status;
	    private List<String> tagIds;
	    private String userId;
	    /**帖子标签id，用于查询*/
	    private String tagId;
	    private String tags;
	    private User u;
	    private List<Tag> tagList;
	    
	    
		public String getId() {
			return id;
		}
		public void setId(String id) {
			this.id = id;
		}
		public String getContent() {
			return content;
		}
		public void setContent(String content) {
			this.content = content;
		}
		public String getTitle() {
			return title;
		}
		public void setTitle(String title) {
			this.title = title;
		}
		public Date getCreateTime() {
			return createTime;
		}
		public void setCreateTime(Date createTime) {
			this.createTime = createTime;
		}
		public Integer getCategoryId() {
			return categoryId;
		}
		public void setCategoryId(Integer categoryId) {
			this.categoryId = categoryId;
		}
		public Integer getStatus() {
			return status;
		}
		public void setStatus(Integer status) {
			this.status = status;
		}
		public User getU() {
			return u;
		}
		public void setU(User u) {
			this.u = u;
		}
		public List<String> getTagIds() {
			return tagIds;
		}
		public void setTagIds(List<String> tagIds) {
			this.tagIds = tagIds;
		}
		public String getTags() {
			return tags;
		}
		public void setTags(String tags) {
			this.tags = tags;
		}
		public String getCategoryName() {
			return categoryName;
		}
		public void setCategoryName(String categoryName) {
			this.categoryName = categoryName;
		}
		public List<Tag> getTagList() {
			return tagList;
		}
		public void setTagList(List<Tag> tagList) {
			this.tagList = tagList;
		}
		public String getTagId() {
			return tagId;
		}
		public void setTagId(String tagId) {
			this.tagId = tagId;
		}
		public String getUserId() {
			return userId;
		}
		public void setUserId(String userId) {
			this.userId = userId;
		}
		
}
